Creates a fragment for button controls