Changing of categories now works good