Index will now be rebuilt from files on sdcard

Fixes #18 on github

This is even better than storing the index on the sdcard. It only requires
reading of the activities files when the application looses localStorage.