sql: Corrected the order of functions int the database scripts.
scripts: python dependency installation script.
Create only one callback for selecting and unselecting trips.