Worked on transferring request code to Alarmdialog