Adding restart functionality

Also looks for restart button.