Added a key handler, my own key event (the native javascript one sucks) and a key combination to restore the optimal 3D printing settings: CTRL + ALT + P.