Solving Instagram photo selection bug

I have solved the issue that Raiam found in the instagram photo
selection screen.
Also I'm deleting some unused files.