Some buttons changed to .on() because of ajax call