[#25] Added cast to fulfill requirements of setContentView.