Add public keyword in button class