added timer function to reset or shutdown if no user-input given after a few seconds