Best way to design cover Modbus, - cannot detect manual activation

Hey i am using modubus module to control covers,
i have encounter an issue related to two functions:

  1. If i activate the cover to one direction and than press stop , i cannot continue on the same direction but need to press the other way and only then press back.
  2. if i manually activate the cover , HA does not know that the command was sent therefore the cover can be closed while the actual state is open.

I would like to design button which can override this issue, any suggestion?
i was thinking to create script for each channel but i could not connect it properly to a button.
How can i update the icon status in case that the cover was ,manually activated?