Removed pick color function which was not necessary