MOB-2297 Don't update categories without changes

could this selector be cashed one ones and than reused? Currently the DOM operation is done on every function call.