Refactor capturing of image
Added comments to SocialPostingPage