App working after first build