big option menu database change

Option menu values get stored in the database. Bars get initialized from
the database and orientation is locked in portrait.