Connect AlarmTrigger with ExpectedEvents event
Add condition to display expected event if present

By this we made sure that in case there was no expected event an error message would not pop up.
Add Expected Event condition to show view
We added the same condition as in the index view in order to make sure there is no error message in case expected events is left empty.For this we had to use instance variables.