Fix some bugs with style page fragment. Delete order function has been
added.