Display custom buttons in the order they were saved

https://bugzilla.redhat.com/show_bug.cgi?id=1134155
Merge pull request #617 from mzazrivec/honor_order_of_custom_buttons

Display custom buttons in the order they were saved