fix bugs in edittext of dialogfragment