Removed unnecessary else clause when updating a button's status.