Fix spacings and alignments of elements
@sengupta5 This PR includes miscellaneous UI fixes requested by designer:
- Spacing around the page title
- Spacing around category icons
- Spacing between category pill and due date
- Positions of category titles and icons in the card
- Simplify code a bit