fixed delete alarm query
implemented the onSwipeDelete