Height calendar does not work

part of the problem is solved by eliminating the files generated by the project; the problem of the upper part remains…as well as not reading the appointment database