Fallback for #430.
It's not right (why prefscreen not save correctly instance state?), but works
Some optimizes