Fixed bug with show details in list of sprites

The value of showDetails is now stored as a sharedPreference. The according test (testSpriteListDetails() in ProjectActivityTest) has been adapted accordingly.