support for settings and close app from menu