Fix inadvertently toggling settings when selecting category

#14