Added options to change menu format. Data model is also correctly updated after preference changes.