ticket:7
1. Implemented marking functionality.
2. Added tests for SharedPreferences.