Sleep added to correcly take the second picture