added red and green button for online and away mode