Fixed the "Done" button on history view

Had to move it below setContentView() call.