Solved the nullpointerexception

How cool is that. Now we're having SQLite issues. Super neat.