Enhance the TAppMainpage.xtend for report function.