Add __unused qualifier for unused parameters.
Disabled begin/endAppearenceTransition while adding center controller.

This is to avoid double call to viewDidAppear and such.