Moved all .click events to one place, added videoShown to settings and added adaptToSettings function