Added destroy action
Merge pull request #5 from tomdepplito/fix_preferences

Added destroy action