I make to use database for loading log in MainAcitivity.