[IMP] improved onchage methods and some variable name and code in bask_statement.py