fixed categories menu to sort alphabetically
changed click on text in edit mode to be similar to view mode