When changing the type from a controller to a portal, the relay buttons are able to be clicked when they shouldn't be. Nothing gets updated, but the action should not happen. The same holds true vice versa. When changing back to a controller, you are not able to click the toggle buttons to change the relays.
This is fixed if you restart the application.
Look at the OnPause / OnResume functions inside StatusActivity.
Need to look at clearing the onclicklisteners and setting the clickable value to true/false appropriately.
Moved setting onclicklisteners to onresume
Fixes problem with switching between controller and portal where buttons were not clickable after being on portal going to controller.