close If no file in pic folder, getRandomPic script never stop and make the app crashed. #35