create fragment to hold the encoding buttons