buttons for undo,pass, resign. pass working