edited charts -> timeselection to the desires of FAPS
changed funktion2 to charts
renamed SQL.querry to SQL.query