Hook ui buttons into loading data