Swapped widget and event arguments in configure wifi