displaying door status on main view