Refactor to Alarms adapter. Added CustomAdapter class.