Cleans preferences
Adds notification support