Fix crash when opening some stops

I fixed the crash when opening some stops #170 and another UI issue.