add clearing when text tab is closed
add checking for incoming messages so only new messages will be added to the list. only calls last five from the database