Removing duplicate onCreates