Added shake to restart

Added shake gesture to restart game
Added shake setting