fix 2 small bugs

the open/closing/highlighting of bookings was broken
also the sum was not displayed if the only booking for a day was a running booking
now the sum of incomplete days will be displayed in red