Updated buttons to switch to loading state