Fixed database issue and random message button