Fixed issue where app would crash if category changed and wasn't specified