Added menu functionality.