Toast and ifs added to databaseOps activity