Removed errors from Main Activity