remove buttonNumber from arguments

remove buttonNumber from arguments in processButton function