Improved the double/single click stuff.
Loading gif was being removed twice. Fixed.