Improvements to the changepic widget