Added button class with loading state.