Check type of invoice - correction

Date is now updated also when clicking or typing to select input for
invoice type. File ftpsync.settings contains password to testing server
(hidden to git).