Selecting a tab now refreshes the corresponding table.
Confirming sale properly adds data to db.
Stock adding to database not implemented yet.