added button loading and fixed some css issues