More button rendering and some helper functions