display button according status
add connect to child function