Changed the ordering that titlebar actions are displayed.

Previously, the ordering of the titlebar actions did not match
the enum ordering in the schema file, which caused the wrong
action to be set.