Hi,
To do invert, I think you should reboot your device to make it work.
I use the below command in nickelmmenu configuration:
Code:
menu_item :main :Invert :nickel_setting :toggle :invert
chain_success :nickel_orientation :swap
the invert works without rebooting the device, but you should set again your portrait/landscape mode.
the other command is below and it will reboot your device in order to do the invert:
Code:
menu_item :main :Invert :nickel_setting :toggle :invert
chain_success :power :reboot (edit colon power :reboot)
Hope it helps.