Added functionality on options menu and preferences settings