create ReceiveHandler.
Changed process when alert button pressed.
code refactoring.
v.0.1.1