fixed leaked window
add EditText to enter a hex code