Updated header
Assigned ligand.representations later
Moved out the assignment of entities.ligand
Merged two lines
Moved hbonds and labels detection and representation creation to refreshLigand()