made a thread out of the alarm process and add user input by voice command.