unfortunately you forgot to provide a screenshot of these blocks, so we do not know, if there is an error in your blocks…
the link in my last answer shows how to store the image in another directory… however nowadays you should not use random directories anymore, use shared storage or ASD…
see again Some basics on Android storage system
Taifun