Try to do refactoring: Use actionbar to replace the titlebar.