fix adding element buttonclick, test connection and disconnection