Started to link entry and day table, addPhoto() needs to be redesigned
(it will be a my future commit, i hope soon :P), the function addPhoto
must update the foreign key of each entry of the selected day (addEntry
must return like before). 
Now listView shows the relative image (not every time because its a
prototype).