added fix permissions function, resolve fc screen rotation in voltage settings, and other optimisations