1. optimize compress logic to avoid endless loop; 2. remove toast of
compressing photos.