Fixed 'end turn' button's state issue.