Added buttons and fixed rotation on ImageActivity.