Reused Adapter Contructor Code & Bug Fix

- Fixed a NullPointerException when quickly going through categories.
This was caused by getSharedPreferences() returning null. I fixed it by
simply surrounding it in a try/catch. :p
- Silly me, I needed to reuse constructor code rather than type it
twice.