Added functionality to add tags to pictures