Added the option to choose how long to wait

You chan now choose to wait between 1 and 12 hours, when waiting.