Correcting bug: AlarmReceiverceiver???
Moving setAlarm to Period, adapting other classes to usin Period and Database.