AP functional test: edit ap alert settings
fix AP customized alerts UI
alert settings pop up UI fix
distance from top calculated with javascript