implemented image saving into isolated storage