saving screenshot mid way