adds error messages for settings and fixes styling of success notification