src: fixed bug with file view not updated properly
src: fixed bugs with creating new file, while another file is selected