Fix button enabling behavior after rotation
Set button states at appropriate time