Remove duplicate code in ContextPanel
add reset button to contact context panel