Arranged the fragments to have responsibility on their menu items.