Make account offline and online

Hi, i am trying to make in AWallet feature to turn the participation of the account up (online), down (it says nonParticipating) and then up, and it does not work.

I am doing it according to documentation

and on second time i am trying go online it says

cannot change online/offline status of non-participating account

Anybody has implemented feature to make account offline?

This is my implementation: online offline dialog #50 by scholtz · Pull Request #52 · scholtz/wallet · GitHub

For the record we solved this issue on algo discord.

nonParticipation: true

should never be used…