Correctly compress custom buttons list when removing one

Should remove the need for workarounds such as
http://t00tiereprap.wordpress.com/2013/04/02/messy-custom-button-placement-in-pronterface/