add support for 3.10
fix bug with label not being re-shown if hidden while charging