Improved button reset.