Refactored code to retrieve blank profile picture into separate method