adds geting local path from writeStream method.
changes UI for windows phone (adds display photo).