Fixed upload button and put snapshots when uploaded