Using TimeAlarms to open and close door