Add onblur function and flete logic. Fixed bug in detailed report