Toggle view button and implement restart