Change promise to emptypromise
Wait for ajax after clicks