Add connect (switch) listener
Missing semi-colon :)