Cleaned up some unused code and added toast message when downloading external image.