Redesigned closure button
Dirty hack
Cache frequently used values that never changes