Reminder application in erlang