Refactored DisplayActivity to use onBackStackChanged()