Fix visibility for onCreate method