Allow moving app to SD card

Fixes #334.