Changed some property names of the alarm model in order to make them look consistent. Fixed some bugs so that it can run on the test device without throwing exceptions.