accept finish.
problems of change machine are solved.
modify accept_button_clicked function