set loading button