Converting menu to fragment.