Added permission to write to SD card