Fix function _set_default_options() + last tab fix.

Fix function _set_default_options():
Options were retrieved from DB only if they were in sections array.

Also restore last tab after option saving.