fixing nullpointerexception in settings cache, and bumping version to 0.3.1