added enabled flags to picker and button