Added possibility to cancel events with long click on the button. The
longclick opens a dialog which asks if the user wants to cancel.