Edited buttons and ajax calls