Passing category from one view to another