Added settings menu functionality.