save image path and load it on main activity.