added clicklistener to categories