Made enabling/disabling UI controls more clear