Fixing category on click event