fixing color saving
handling foreground notifications a little better