added label change method, found bug with dropdowns in Index.html(not fixed)