implementing catagory button in another class