added button state diagram