+ implement saving settings on Enter
~ working version
! NOT CAREFULLY TESTED
! hacky code, ikr