Moved repeated method calls to variables

Reduced method calls by 11 times
Images update