Changed the condition to show the alarm button in the bubble