Mostly changes to mainActivity trying to get a reference using the
LayoutInflater.