fixed issue #1 : default album must be camera roll and save last selected album, if you don't want to save selected album, you can remove define for it.

added boundary check for preview