Mark option as set after setting default value
Added overwrite required test (test by zimmski)