added options menu and tried restart function