Added functionality to the beerfragment