More work on the interface.
database buttons created when device button is clicked on.
data and chart containers are updated when device button is clicked on.