Improve loading appearance and add loading gif