Epilepsy linked to stress, shows Apple app study