Fixed bug with incorrect deployment context usage
Added persistance for notifications (close #18)