Adding wait for element before clicking