fix all layout problem

implement only one refresh if offline, implement notification and button
notification for alarm reset or disable