Move storing salt to main activity
Filter categories by permission in the details view