Refresh button functionality

Added refresh button functionality, initial DB show contents.