fix breakage loading old / creating new permanent buttons

Leo build: 20141122162510