Updated card layout, and attached all buttons to actions