add unit test for show and lock function
add common class for button and clear can clearing tip