Correcting components styles and creating actions for buttons