MessageDetails writing and reading messages from WebSQL database. Messages are stored in when MessageList component loads them.